package com.stars.questions.deptQuestion.config.entity;

/**
 * @author : Rocks
 * @version : 1.0
 * @date : 2022/12/30 09:35
 * @description : 问卷配置查询实体Bean
 */
public class QuestionConfigDTO {

    private int current;
    private int pageSize;
    private String search;

    public int getCurrent() {
        return (current-1)*pageSize;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }
}
